package com.aries.entitys;

import com.mockuai.commons.entitis.Filter;
import org.springframework.context.ApplicationContext;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Author: aries
 * Date: 2018/9/12
 * Description:
 */
public class TestFilter implements Filter, Serializable {
    private ApplicationContext context;

    @Override
    public boolean accept() {
        System.out.println("accept： testFilter");
        return false;
    }

    @Override
    public boolean before() {
        System.out.println("before:  testFilter");
        return false;
    }

    @Override
    public boolean after() {
        System.out.println("after:  testFilter");
        return false;
    }

    @Override
    public void setContext(ApplicationContext applicationContext) {
        this.context = applicationContext;
    }
}
